﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vtron.LEDCorrective.Infrastructure
{
    /// <summary>
    /// 通信处理者的工厂
    /// </summary>
    public sealed class CommunicationHandlerFactory
    {
        private static readonly CommunicationHandlerFactory instance = new CommunicationHandlerFactory();
        public static CommunicationHandlerFactory Instance
        {
            get
            {
                return instance;
            }
        }

        public ICommunicationHandler ICommunicationHandler
        {
            get
            {
                return new SocketHandler();
            }
        }
    }
}
